package com.hualan.mapper;

import com.hualan.domain.Teacher;
import com.hualan.domain.TeacherAndGoodAndLevel;

import java.util.List;

/**
* @author 29524
* @description 针对表【teacher(咨询师表，存储所有咨询师信息)】的数据库操作Mapper
* @createDate 2024-09-06 10:16:57
* @Entity com.hualan.domain.Teacher
*/
public interface TeacherMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Teacher record);

    int insertSelective(Teacher record);
    //通过id查询咨询师
    Teacher selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Teacher record);

    int updateByPrimaryKey(Teacher record);


    //展示所有teacher数据
    List<Teacher> selectAllTeacher();

    //搜索界面的数据查询
    List<TeacherAndGoodAndLevel> findSearchContentByTeacherName(String teacherName);

    //查找所有teacher
    List<Teacher> findAlTeacher();
    //    查询所有的咨询师的信息
    List<Teacher> queryTeachers();
//


}
